import xlrd

xl = xlrd.open_workbook(filename='data.xlsx',encoding_override=True)
sh = xl.sheet_by_index(0)
rows = sh.nrows
cols = sh.ncols

class Data():
    add = []
    minus = []
    multi = []
    devision = []
    for x in range(rows):
        for y in range(cols):
            if 1 <= x <= 3 and y <= 1:
                add.append([sh.cell_value(x,y),sh.cell_value(x,y+1),sh.cell_value(x,3),x])
                for i in add:
                    if i[1] == '':
                        add.remove(i)
            if 5 <= x <= 7 and y <= 1:
                minus.append([sh.cell_value(x,y),sh.cell_value(x,y+1),sh.cell_value(x,3),x])
                for i in minus:
                    if i[1] == '':
                        minus.remove(i)
            if 9 <= x <= 11 and y <= 1:
                multi.append([sh.cell_value(x,y),sh.cell_value(x,y+1),sh.cell_value(x,3),x])
                for i in multi:
                    if i[1] == '':
                        multi.remove(i)
            if 13 <= x <= 15 and y <= 1:
                devision.append([sh.cell_value(x,y),sh.cell_value(x,y+1),sh.cell_value(x,3),x])
                for i in devision:
                    if i[1] == '':
                        devision.remove(i)